package com.wxd.util;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

public class OutPut {
	public static void responseWrite(HttpServletResponse resp,String str){
		try {
			PrintWriter writer = resp.getWriter();
			writer.write(str);
			writer.flush();
			writer.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
